package com.service.activemq;

import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Service;

/**
 * @className: MessageReceiverService
 * @description: TODO 创建消息接收者
 * @author: zql
 * @date: 2023/10/14 0:10
 * @Company: Copyright© [日期] by [作者或个人]
 **/
@Service
public class MessageReceiverService {

  /*  @JmsListener(destination = "your-queue-name")
    public void receiveMessage(String message) {
        System.out.println("Received message: " + message);
    }*/
}
